package cn.qhuan.modules.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description: 艺术家表
 * @Author: 司翔宇
 * @Date:   2020-12-28
 * @Version: V1.0
 */
@Data
@TableName("qh_artist")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="qh_artist对象", description="艺术家表")
public class Artist implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
	/**对应的工号*/
	@Excel(name = "对应的工号", width = 15)
    @ApiModelProperty(value = "对应的工号")
    private String username;
	/**艺术家名称*/
	@Excel(name = "艺术家名称", width = 15)
    @ApiModelProperty(value = "艺术家名称")
    private String name;
	/**拼音全称*/
	@Excel(name = "拼音全称", width = 15)
    @ApiModelProperty(value = "拼音全称")
    private String pinyin;
	/**性别 1男 2女*/
	@Excel(name = "性别 1男 2女", width = 15)
    @ApiModelProperty(value = "性别 1男 2女")
    private Integer sex;
	/**出生日期*/
	@Excel(name = "出生日期", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "出生日期")
    private Date brithday;
	/**入学年份*/
	@Excel(name = "入学年份", width = 15)
    @ApiModelProperty(value = "入学年份")
    private String ennrollmentyear;
	/**籍贯*/
	@Excel(name = "籍贯", width = 15)
    @ApiModelProperty(value = "籍贯")
    private String nativePlace;
	/**头像*/
	@Excel(name = "头像", width = 15)
    @ApiModelProperty(value = "头像")
    private String headImg;
	/**艺术家简介*/
	@Excel(name = "艺术家简介", width = 15)
    @ApiModelProperty(value = "艺术家简介")
    private String artistProfile;
	/**排序*/
	@Excel(name = "排序", width = 15)
    @ApiModelProperty(value = "排序")
    private Integer sort;
	/**民族*/
	@Excel(name = "民族", width = 15)
    @ApiModelProperty(value = "民族")
    private String nation;
	/**所在省份*/
	@Excel(name = "所在省份", width = 15)
    @ApiModelProperty(value = "所在省份")
    private String province;
	/**所在城市*/
	@Excel(name = "所在城市", width = 15)
    @ApiModelProperty(value = "所在城市")
    private String city;
	/**身份*/
	@Excel(name = "身份", width = 15)
    @ApiModelProperty(value = "身份")
    private String identityId;
	/**生辰时代*/
	@Excel(name = "生辰时代", width = 15)
    @ApiModelProperty(value = "生辰时代")
    private String birthdayDate;
	/**历史地位*/
	@Excel(name = "历史地位", width = 15)
    @ApiModelProperty(value = "历史地位")
    private String historicalPosition;
	/**联系手机*/
	@Excel(name = "联系手机", width = 15)
    @ApiModelProperty(value = "联系手机")
    private String phone;
	/**密码*/
	@Excel(name = "密码", width = 15)
    @ApiModelProperty(value = "密码")
    private String password;
	/**拼音缩写*/
	@Excel(name = "拼音缩写", width = 15)
    @ApiModelProperty(value = "拼音缩写")
    private String abbreviation;
	/**状态*/
	@Excel(name = "状态", width = 15)
    @ApiModelProperty(value = "状态")
    private String status;
	/**经历*/
	@Excel(name = "经历", width = 15)
    @ApiModelProperty(value = "经历")
    private String experience;
	/**审核人*/
	@Excel(name = "审核人", width = 15)
    @ApiModelProperty(value = "审核人")
    private String auditBy;
	/**审核时间*/
	@Excel(name = "审核时间", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "审核时间")
    private Date auditTime;
}
